package com.huilai.platform.country_platform.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 作者：洪霓
 * 日期：2023/3/28
 * 注释：
 */
public class ChatMessageDTO {
    //发送者
    private String sendUser;

    //信息内容
    private String content;

    //发送时间
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String sendTime;

    public ChatMessageDTO(){}

    public ChatMessageDTO(String sendUser, String content, String sendTime){
        this.sendUser = sendUser;
        this.content = content;
        this.sendTime = sendTime;
    }

    public String getSendUser() {
        return sendUser;
    }

    public void setSendUser(String sendUser) {
        this.sendUser = sendUser;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }
}
